export default defineAppConfig({
  lazyCodeLoading: 'requiredComponents',
  pages: ['pages/home/index', 'pages/login/index', 'pages/book/index', 'pages/my/index'],
  window: {
    navigationBarTextStyle: 'black',
    navigationStyle: 'custom',
    enablePullDownRefresh: true
  },
  subPackages: [
    {
      root: 'package',
      pages: [
        'search/index',
        'receiving/index',
        'reciprocation/index',
        'book-adder/index',
        'receiving-adder/index',
        'about/index',
        'suggestion/index',
        'family/index',
        'user/index'
      ]
    }
  ],
  tabBar: {
    custom: true,
    color: '#e5e5e9',
    selectedColor: '#010215',
    list: [
      {
        pagePath: 'pages/home/index',
        text: ''
      },
      {
        pagePath: 'pages/book/index',
        text: ''
      },
      {
        pagePath: 'pages/my/index',
        text: ''
      }
    ]
  }
});
